const moduleA ={
    state: () =>({
        countA:10
    }),
    getters:{
        doubleCountA(state){
            return state.countA *2
        }
    },
    mutations:{
        incrementA(state){
            state.countA++
        }
    },
    actions:{
        asyncIncrementA({commit}){
            commit('incrementA')
        }
    }
}

export default moduleA